//
// Created by guoshunw on 1/27/2021.
//

#ifndef G711CODEC_G711CODEC_H
#define G711CODEC_G711CODEC_H
#include <cstdint>
void testG711Codec();

class G711Codec {

public:
    static uint8_t alawEncode(short data);
    static short alawDecode(uint8_t data);

    static uint8_t mulawEncode(short data);
    static short mulawDecode(uint8_t data);
};


#endif //G711CODEC_G711CODEC_H
